﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
using System.Configuration;

namespace WilsonWebsite
{
    public class Global : System.Web.HttpApplication
    {

        public static readonly string strCon = ConfigurationManager.AppSettings["Connection"];
        public static readonly int recommNum = Convert.ToInt32(ConfigurationManager.AppSettings["RecommNum"]);
        public static readonly int hotNewsNum = Convert.ToInt32(ConfigurationManager.AppSettings["HotNewsNum"]);
        public static readonly int siteRowNum = Convert.ToInt32(ConfigurationManager.AppSettings["SiteRowNum"]);
        public static readonly int catNum = Convert.ToInt32(ConfigurationManager.AppSettings["CatNum"]);
        public static readonly string imageWeb = ConfigurationManager.AppSettings["ImageWeb"];
        public static readonly int seriesNum = Convert.ToInt32(ConfigurationManager.AppSettings["SeriesNum"]);
        public static readonly int proNum = Convert.ToInt32(ConfigurationManager.AppSettings["ProNum"]);
        public static readonly int pageSize = Convert.ToInt32(ConfigurationManager.AppSettings["PageSize"]);
        public static readonly int catAdNum = Convert.ToInt32(ConfigurationManager.AppSettings["catAdNum"]);
        protected void Application_Start(object sender, EventArgs e)
        {

        }

        protected void Session_Start(object sender, EventArgs e)
        {

        }

        protected void Application_BeginRequest(object sender, EventArgs e)
        {

        }

        protected void Application_AuthenticateRequest(object sender, EventArgs e)
        {

        }

        protected void Application_Error(object sender, EventArgs e)
        {

        }

        protected void Session_End(object sender, EventArgs e)
        {

        }

        protected void Application_End(object sender, EventArgs e)
        {

        }
    }
}